package com.park.client.service.user;

import java.util.List;

import com.park.client.model.user.UserMsgModel;
import com.park.client.service.base.BaseService;

public interface UserMsgService extends BaseService<UserMsgModel>{
	
	    int getMsgTotal(Long userId);
	    
		boolean insertAndGetInsertID(UserMsgModel msg);
		
	   List<UserMsgModel> selectPrivateMsg(Long userId);
	    
	   /**
	    * 注册消息
	    */
		void saveMsg(UserMsgModel msg,Long userId);
	
}
